
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta name="keywords" content="LightYear,LightYearAdmin,光年,后台模板,后台管理系统,光年HTML模板">
<meta name="description" content="Light Year Admin V5是一个基于Bootstrap v5.1.3的后台管理系统的HTML模板。">
<meta name="author" content="yinq">
<title>首页 - 切换目录</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<!-- 基础样式库 -->
<link rel="stylesheet" type="text/css" href="{{cdn}}/static/v5/css/materialdesignicons.min.css">
<link rel="stylesheet" type="text/css" href="{{cdn}}/static/v5/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="{{cdn}}/static/v5/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="{{cdn}}/static/v5/css/style.min.css">
<!-- 功能插件样式 -->
<link rel="stylesheet" href="{{cdn}}/static/v5/js/bootstrap-table/bootstrap-table.min.css">
<link rel="stylesheet" type="text/css" href="{{cdn}}/static/v5/js/jquery-confirm/jquery-confirm.min.css">
</head>
<style>
  .card-body {
   height: 100vh;
 }
</style>
<body>

<div class="container-fluid">

  <div class="row">

  	<div class="col-lg-12">
  	  <div class="card">
  	    <header class="card-header">
  	      <div class="card-title">切换目录</div>
  	    </header>
  		<div class="card-body">
            <div class="callout callout-danger mb-3">
                <p>部分程序需要指定二级目录作为运行目录,如<b style="color: brown;">ThinkPHP5,Laravel</b></p>
                <p>选择您的运行目录，点保存即可</p>


              </div>
              <div class="mb-3">

                <label  class="form-label">运行目录</label>
                <select class="form-select" id="runPath"> 
                </select>
              </div>
              <button class="btn btn-primary btn-sm" type="button" onclick="SetSiteRunPath()" >切换</button>

  	    </div>
  	  </div>
    </div>

  </div>
</div>
</div>

<script type="text/javascript" src="{{cdn}}/static/v5/js/jquery.min.js"></script>
<script type="text/javascript" src="{{cdn}}/static/v5/js/popper.min.js"></script>
<script type="text/javascript" src="{{cdn}}/static/v5/js/bootstrap.min.js"></script>
<script type="text/javascript" src="{{cdn}}/static/v5/js/bootstrap-notify.min.js"></script>
<script type="text/javascript" src="{{cdn}}/static/v5/js/jquery-confirm/jquery-confirm.min.js"></script>
<!--表格插件js-->
<script src="{{cdn}}/static/v5/js/bootstrap-table/bootstrap-table.js"></script>
<script src="{{cdn}}/static/v5/js/bootstrap-table/locale/bootstrap-table-zh-CN.js"></script>
<!-- 弹框 -->
<script type="text/javascript" src="{{cdn}}/static/v5/example/js/layer/layer.js"></script>
<script type="text/javascript" src="{{cdn}}/static/js/switch_directory.js"></script>

</body>
</html>
